{% extends '../layout.html' %}

{% block content %}
<form method="post" action="/user/register" id="user-create-form">
  <fieldset>
    <legend>建立論壇帳號</legend>
    <ul>
      <li class="form-field">
        <p>正在使用您 {% ifequal user_type 'gfc' %}
          Google Friend Connect
        {% else %}
          Facebook
        {% endifequal %} 的帳號</p>
        <img src="{{ thumbnail }}" alt="這是你" width="48" height="48" class="avatar">
      </li>      
      <li class="form-field">
        <label for="user-name" class="form-label">論壇帳號:</label><br>
        <input type="text" name="user[name]" id="user-name" size="15">
      </li>
      <li class="form-field">
        <label for="user-profile" class="form-label">個人簡介</label><br>
        <textarea id="user-profile" name="user[profile]" rows="3" cols="50"></textarea>
      </li>
      <li class="form-field">
        <input type="submit" value="建立帳號">
      </li>
    </ul>
  </fieldset>
</form>
{% endblock %}